package playchess;

import static playchess.Piece.*;

public class ChessBoard
{
	private Piece[][] pieces = new Piece[][]
	{ 
	  {new Piece(BLACK, ROOK), new Piece(BLACK, KNIGHT), new Piece(BLACK, BISHOP), new Piece(BLACK, QUEEN), new Piece(BLACK, KING), new Piece(BLACK, BISHOP), new Piece(BLACK, KNIGHT), new Piece(BLACK, ROOK)}, 
	  {new Piece(BLACK, PAWN), new Piece(BLACK, PAWN), new Piece(BLACK, PAWN), new Piece(BLACK, PAWN), new Piece(BLACK, PAWN), new Piece(BLACK, PAWN), new Piece(BLACK, PAWN), new Piece(BLACK, PAWN)},
	  {new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY)},
	  {new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY)},
	  {new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY)},
	  {new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY), new Piece(BLACK, EMPTY)},
	  {new Piece(WHITE, PAWN), new Piece(WHITE, PAWN), new Piece(WHITE, PAWN), new Piece(WHITE, PAWN), new Piece(WHITE, PAWN), new Piece(WHITE, PAWN), new Piece(WHITE, PAWN), new Piece(WHITE, PAWN)},
	  {new Piece(WHITE, ROOK), new Piece(WHITE, KNIGHT), new Piece(WHITE, BISHOP), new Piece(WHITE, QUEEN), new Piece(WHITE, KING), new Piece(WHITE, BISHOP), new Piece(WHITE, KNIGHT), new Piece(WHITE, ROOK)}
	};
	
	public ChessBoard()
	{
		;
	}
	
	public Piece getPiece(byte i, byte j)
	{
		return pieces[i][j];
	}
}
